package com.example.hy2110szyx.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * 航班信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReservedTicket {
    private Integer id;
    private String tno;
    private String fno;
    private String cno;
    private String identity;
    private String name;
    private Date reservedTime;
    private Integer payMark;

    private FlightInfo flightInfo;


    public ReservedTicket(String identity, String name,String fno,String cno) {
        this.identity = identity;
        this.name = name;
        this.fno = fno;
        this.cno = cno;
    }
}
